//
//  UITabBarItem+XMLFont.m
//  不得姐
//
//  Created by mac on 2017/9/3.
//  Copyright © 2017年 XML. All rights reserved.
//

#import "UITabBarItem+XMLFont.h"

@implementation UITabBarItem (XMLFont)

-(void)setFont:(UIFont *)font{
    
    NSMutableDictionary *attribute = [NSMutableDictionary dictionary];
    attribute[NSFontAttributeName] = font;
    [self setTitleTextAttributes:attribute forState:UIControlStateNormal];
}
@end
